﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteUser.Master" AutoEventWireup="true" CodeBehind="policydetails.aspx.cs" Inherits="ProjectSem3.WebForm11" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="margin:60px 10px 0 5px;">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        BorderWidth="1px" CellPadding="2" EnableModelValidation="True" 
        ForeColor="Black" GridLines="None" Width="660px">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="policyname" HeaderText="Policy Name" >
             <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:BoundField>
            <asp:BoundField DataField="policydesc" HeaderText="Policy Description" >
             <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:BoundField>
            <asp:BoundField DataField="amount" DataFormatString="{0:0.##}" 
                HeaderText="Amount" > <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:BoundField>
            <asp:BoundField DataField="emi" DataFormatString="{0:0.##}" HeaderText="EMI" >
             <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:BoundField>
            <asp:HyperLinkField DataNavigateUrlFields="companyid" 
                DataNavigateUrlFormatString="companydetail.aspx?idcp={0}" 
                DataTextField="companyname" HeaderText="Company Name" 
                NavigateUrl="~/companydetail.aspx" >
                 <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            </asp:HyperLinkField>
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
    </asp:GridView>
</div>
</asp:Content>
